package com.itheima.reggie.dto;

import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.domain.DishFlavor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class DishDto extends Dish {
        //用来封装口味表的数据
        private List<DishFlavor> flavors = new ArrayList<>();
        //菜品分类名
        private String categoryName;

        private Integer copies;
}
